<?php

use yii\helpers\Html;
use yii\widgets\ActiveForm;

/**
 * @var yii\web\View $this
 * @var admin\models\Post2Search $model
 * @var yii\widgets\ActiveForm $form
 */
?>

<div class="post-search">

    <?php $form = ActiveForm::begin([
        'action' => ['index'],
        'method' => 'get',
    ]); ?>

    <?= $form->field($model, 'postid') ?>

    <?= $form->field($model, 'listorder') ?>

    <?= $form->field($model, 'forumid') ?>

    <?= $form->field($model, 'subject') ?>

    <?= $form->field($model, 'username') ?>

    <?php // echo $form->field($model, 'datetime') ?>

    <?php // echo $form->field($model, 'anonymous') ?>

    <?php // echo $form->field($model, 'invisible') ?>

    <?php // echo $form->field($model, 'tags') ?>

    <?php // echo $form->field($model, 'comments') ?>

    <?php // echo $form->field($model, 'follows') ?>

    <?php // echo $form->field($model, 'views') ?>

    <?php // echo $form->field($model, 'content') ?>

    <?php // echo $form->field($model, 'images') ?>

    <?php // echo $form->field($model, 'userid') ?>

    <?php // echo $form->field($model, 'linkurl') ?>

    <div class="form-group">
        <?= Html::submitButton('Search', ['class' => 'btn btn-primary']) ?>
        <?= Html::resetButton('Reset', ['class' => 'btn btn-default']) ?>
    </div>

    <?php ActiveForm::end(); ?>

</div>
